/*
package com.ruoyi.web.controller.station;

import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.ruoyi.common.core.domain.AjaxResult;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
*/
/**
 * 工站管理
 *
 *   @author chenjinyi
 *//*

@Api("工站管理")
@RestController
@RequestMapping("/factory/station")
public class StationCollector {
	private String prefix = "factory/station";

	private final static Map<Integer, StationEntity> stations = new LinkedHashMap<Integer, StationEntity>();
	{
		stations.put(1, new StationEntity(1, "搅拌站", 2, "/profile/station/2021/01/14/126677578290797986g.jpg", 1));
		stations.put(1, new StationEntity(2, "张拉机", 2, "/profile/station/2021/01/14/201908151251038343964.jpg", 2));
		stations.put(1, new StationEntity(3, "离心机", 11, "/profile/station/2021/01/14/71001043727276.jpg", 3));
	}

	@RequiresPermissions("factory:station:view")
	@GetMapping()
	public String station() {
		return prefix + "/station";
	}

	@RequiresPermissions("factory:station:list")
	@ApiOperation("获取工站列表")
	@GetMapping("/list")
	public AjaxResult stationList() {
		List<StationEntity> stationList = new ArrayList<StationEntity>(stations.values());
		return AjaxResult.success(stationList);
	}
}

*/
